package com.ruoyi.project.WebMoudle.accountDetails.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 记账详情对象 account_details
 * 
 * @author ruoyi
 * @date 2020-07-14
 */
public class AccountDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;
    private Long shopId;

    /** 用户获得积分 */
    @Excel(name = "用户获得积分")
    private Integer returnJifen;

    /** 归属商家返利 */
    @Excel(name = "归属商家返利")
    private BigDecimal belongMoney;

    /** 当前商家获得钱 */
    @Excel(name = "当前商家获得钱")
    private BigDecimal shopMoney;

    /** 平台获得的钱 */
    @Excel(name = "平台获得的钱")
    private BigDecimal terraceMoney;

    private BigDecimal realityPrice;
    private BigDecimal convertMoney;
    private BigDecimal reduceMoney;

    /** 状态 */
    @Excel(name = "状态")
    private String status;
    private String orderNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getReturnJifen() {
        return returnJifen;
    }

    public void setReturnJifen(Integer returnJifen) {
        this.returnJifen = returnJifen;
    }

    public BigDecimal getBelongMoney() {
        return belongMoney;
    }

    public void setBelongMoney(BigDecimal belongMoney) {
        this.belongMoney = belongMoney;
    }

    public BigDecimal getShopMoney() {
        return shopMoney;
    }

    public void setShopMoney(BigDecimal shopMoney) {
        this.shopMoney = shopMoney;
    }

    public BigDecimal getTerraceMoney() {
        return terraceMoney;
    }

    public void setTerraceMoney(BigDecimal terraceMoney) {
        this.terraceMoney = terraceMoney;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getRealityPrice() {
        return realityPrice;
    }

    public void setRealityPrice(BigDecimal realityPrice) {
        this.realityPrice = realityPrice;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public BigDecimal getConvertMoney() {
        return convertMoney;
    }

    public void setConvertMoney(BigDecimal convertMoney) {
        this.convertMoney = convertMoney;
    }

    public BigDecimal getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(BigDecimal reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("userJifen", getReturnJifen())
            .append("belongMoney", getBelongMoney())
            .append("shopMoney", getShopMoney())
            .append("terraceMoney", getTerraceMoney())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
